﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace UtilZ.Dotnet.Ex.Communication.Net.Web
{
    /// <summary>
    /// 发送帧数据信息
    /// </summary>
    public class FrameInfo
    {
        /// <summary>
        /// 数据
        /// </summary>
        public byte[] FrameData { get; set; }

        /// <summary>
        /// 帧数据最大长度
        /// </summary>
        public int FrameMaxSize { get; set; } = 4096;

        /// <summary>
        /// 要发送总帧数
        /// </summary>
        public int FrameCount { get; set; }

        /// <summary>
        /// 当前是第几帧,从1开始
        /// </summary>
        public int FrameIndex { get; set; }

        /// <summary>
        /// 构造函数
        /// </summary>
        public FrameInfo()
        {

        }
    }
}
